package com.ht.pms.core.dao.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.ht.pms.core.dto.recruit.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RecruitDetailMapper extends BaseMapper<RecruitDetail> {


    List<RecruitResultDto> recruitList(@Param("typeId") Integer typeId,@Param("stationName") String stationName,@Param("stationPlace")  String stationPlace, @Param("startTime") String startTime, @Param("endTime") String endTime,@Param("istate") Integer istate,@Param("pageNum")  int pageNum, @Param("pageSize") int pageSize);

    int countRecruit(@Param("typeId") Integer typeId,@Param("stationName") String stationName,@Param("stationPlace")  String stationPlace, @Param("startTime") String startTime, @Param("endTime") String endTime,@Param("istate") Integer istate);

    List<ProvinceCitys> queryProvices();

    List<ProvinceCitys> queryCityByProvinceId(@Param("provinceId") String provinceId);

    List<RecruitDetailApp> recruitListApp(@Param("typeId") Integer typeId ,@Param("stationName")String stationName,@Param("cityId")String cityId);

    List<Province> getProviceCityApp();

    RecruitDetailWeb selectRecruitDetailWeb(@Param("id") Integer id);
}